export default {
  zh: {
    title: {
      addVm: '添加云平台',
      editVm: '编辑云平台'
    },
    ip: {
      placeholder: '输入IP查询虚拟机'
    },

    deliverForm: {
      title: '虚拟机分配',
      showPassword: '云服务密码',
      deliverLocation: '分配位置：',
      businessUnit: '运营单位：',
      deadline: '到期时间：',
      description: '描述信息：',
      placeholder: {
        businessUnit: '请选择运营单位',
        deadline: '请选择到期时间，不填代表无限期',
        choose: '请选择',
        domain: '请输入名称进行过滤'
      },
      validate: {
        not_empty: '该值不能为空'
      }
    },
    Vm: {
      batchImport: '导入',
      search: '查询',
      placeholder: '输入名称查询虚拟机',
      add: '添加',
      delete: '删除',
      more: '更多',
      deleteApply: '申请回收',
      removeApply: '申请退订',
      deliver: '分配',
      reclaim: '回收',
      multiRemove: '申请退订',
      project: '项目',
      resourceDomain: '部门',
      operationUnit: '运营单位',
      import: '导入',
      name: '云平台名称',
      state: '状态',
      type: '云平台类型',
      secretId: 'SecretId',
      secretKey: 'SecretKey',
      dataCenterId: 'dataCenterId',
      operations: '操作',
      vmName: '实例名称',
      ip: 'IP地址'
    },
    vms: {
      instanceName: '实例名称',
      hostname: '实例主机名',
      ip: '公网IP',
      cpu: 'CPU(核)',
      osName: '操作系统名称',
      imageName: '镜像名称',
      state: 'state',
      stateName: '状态',
      instanceChargeTypeName: '计费类型',
      memory: '内存(GB)',
      regionName: '地域',
      internetMaxBandwidthOut: '带宽峰值(MB)',
      internetChargeTypeName: '带宽计费模式',
      zoneName: '可用区',
      cloudPlatformName: '云平台',
      start: '开机',
      stop: '关机',
      restart: '重启',
      showPassword: '查看密码',
      operation: '操作'
    },
    importVm: {
      regionId: 'regionId',
      zoneId: 'zoneId',
      regionName: '地域',
      zoneName: '可用区',
      instanceId: 'instanceId',
      instanceName: '实例名称',
      hostname: '实例主机名',
      imageId: 'imageId',
      instanceType: 'instancetype',
      vpcId: 'vpcid',
      vSwitchId: 'vswitchid',
      dataCenterId: 'dataCenterId',
      ip: 'IP',
      cpu: 'CPU（vCPU）',
      memory: '内存（GB）',
      osId: 'osid',
      osName: '操作系统名称',
      imageName: '镜像名称',
      internetMaxBandwidthOut: '带宽值',
      state: 'state',
      stateName: '状态',
      securityGroupIds: [],
      instanceChargeType: 'instanceChargeType',
      instanceChargeTypeName: '计费类型',
      internetChargeTypeName: '带宽计费模式',
      platformResourceId: 'platformResourceId',
      importState: 'importState',
      importStateName: '导入状态'
    },
    cloudForm: {
      platformName: '云平台名称：',
      platformType: '云平台类型：',
      secretId: 'SecretId',
      secretKey: 'SecretKey',
      dataCenterId: 'dataCenterId',
      id: 'id',
      placeholder: {
        platformName: '请输入名称',
        secretId: '请输入云平台Secret Id',
        secretKey: '请输入云平台Secret Key',
        dataCenterId: '请输入dataCenterId',
        choose: '请选择'
      },
      tip: {
        endpoint: '云平台管理地址示例 '
      },
      quota: '配额',
      core: '核',
      nodeName: '节点名称'
    },
    state: {
      RUNNING: '运行',
      ERROR: '错误',
      UNKNOWN: '未知',
      INCOMPLETE: '未就绪'
    },
    btn: {
      ok: '确定',
      cancel: '取消',
      save: '保存',
      next: '下一步',
      testConnect: '测试连接',
      edit: '编辑'
    },
    confirm: {
      tip: '提示',
      delete_confirm: '确定要删除吗',
      delete_success: '删除成功！',
      delete_failed: '删除失败！',
      ok: '确定',
      cancel: '取消'
    },
    data: {
      failed: '数据获取失败'
    },

    validate: {
      region: '请选择区域',
      dataCenter: '请选择数据中心',
      name: '请输入名称',
      type: '请选择类型',
      endpoint: '请输入管理地址URL',
      username: '请输入管理用户名',
      password: '请输入管理密码',
      projectId: '请输入项目Id'
    },
    msg: {
      Vm_add_success: '添加成功',
      connect_test_success: '测试连接成功',
      connect_test_failed: '测试连接失败',
      platform_connect_failed: '云平台连接失败'
    },
    message: {
      success: '成功',
      failed: '失败',
      deliver_success: '分配成功!',
      reclaim_confirm: '确定回收选中的虚拟机吗?',
      reclaim_success: '回收成功!',
      delete_confirm: '是否需要删除选中的虚拟机?'
    },
  },
  en: {
    Vm: {
      title: {
        addVm: 'Add Vm',
        editVm: 'Edit Vm'
      },
      Vm: {
        search: 'Search',
        placeholder: 'Input name search',
        add: 'ADD',
        delete: 'Delete',
        name: 'Name',
        state: 'State',
        type: 'Type',
        url: 'Url',
        regionName: 'Region',
        dataCenterName: 'DataCenter',
        memory: 'Memory',
        storage: 'Storage',
        description: 'Description',
        operations: 'operations',
        clusterNodes: 'Cluster Nodes'
      },
      state: {
        RUNNING: 'RUNNING',
        ERROR: 'ERROR',
        UNKNOWN: 'UNKNOWN'
      },
      btn: {
        ok: 'OK',
        cancel: 'Cancel',
        save: 'Save',
        next: 'Next',
        testConnect: 'Connect test',
        edit: 'Edit'
      },
      confirm: {
        tip: 'Tip',
        delete_confirm: 'Are you sure to delete ?',
        delete_success: 'Delete success！',
        delete_failed: 'Delete failed！'
      },
      data: {
        failed: 'Data get failed'
      },

      validate: {
        region: 'Please choose region',
        dataCenter: 'Please choose datacenter',
        name: 'Please input name',
        type: 'Please input type',
        endpoint: 'Please inout management url',
        username: 'Please input management username',
        password: 'Please input management password',
        projectId: 'Please input project Id'
      },
      msg: {
        Vm_add_success: 'Add Success',
        connect_test_success: 'Connect test success',
        connect_test_failed: 'Connect test successfull',
        platform_connect_failed: 'Connect error!'
      }
    }
  }
}
